projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7cdedc3
)
(Finsert_file_contents): Fix test for unchanged file.
author
Richard M. Stallman
<rms@gnu.org>
Fri, 15 Apr 1994 22:26:34 +0000
(22:26 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Fri, 15 Apr 1994 22:26:34 +0000
(22:26 +0000)
src/fileio.c
patch
|
blob
|
history
diff --git
a/src/fileio.c
b/src/fileio.c
index cda88070d4abb8c6f621cea7695e613799af48e4..ba509f0ebec3317c6c8f95aecae1a885a0d6c3af 100644
(file)
--- a/
src/fileio.c
+++ b/
src/fileio.c
@@
-2670,7
+2670,7
@@
and (2) it puts less data in the undo list.")
immediate_quit = 0;
/* If the file matches the buffer completely,
there's no need to replace anything. */
- if (same_at_start ==
ZV
)
+ if (same_at_start ==
st.st_size
)
{
close (fd);
specpdl_ptr--;